Component({
  pageLifetimes: {
    show() {
      // this.queryTabContentHeight();
      if (typeof this.getTabBar === 'function' && this.getTabBar()) {
        this.getTabBar().setData({
          selected: '/pages/personnel/personnel'
        })
      }
    }
  },
  lifetimes: {

  },
  properties: {
    model: {
      type: String,
      value: 'list', // list列表模式， select选择器模式
    }
  },
  data: {
    queryTabContentHeight: 0,
    selected: [] as Array<number>
  },
  methods: {
    chooseData(e: any) {
      console.log("exx", e);
    }
  }
})
